make Buffer and Pump into classes