What are the main sources of law that govern and regulate contracts for the design or carrying out of building works?