add logic to flowmeter, pricing works (for now), and initial commit for solenoid.py.