Contracts, Contract Design, and Agency Relationships