Which document legally defines the scope of work, payment terms, and liability for a well drilling project?