Created Pump Controller 

debugged the code and now have a robust version of the pump controller.