Project Finance Legal Framework: Agreements and Risk Allocation