Title: Essays on the theory of contracts with applications to defense procurement and international lending