Firm Level Economics: Consumer and Producer Behavior