STOCK PURCHASE AGREEMENT