renamed Offer class to Offer API