updated project model and fleshed out the contract template