Motorized pumps and treadle valves