Foundations of the Law of Obligations: Contracts and Torts