Foundations of Incomplete Contracts