Essays On Contract Theory And Industrial Organization