MASTER PURCHASE, SALE AND SERVICES AGREEMENT