Add contract and price offer generation
Fix tent bug
Fix maybe