Agency Theory: Methodology, Analysis: A Structured Approach to Writing Contracts