Industrial Organization, a Contract Based Approach