More intelligent throttling for state changes
Fix code order
Update client.py
Make the code more coherent
Get rid of throttling stuff
Create stored proc for toilet state
Add simple JSON API
Improve Toilet class
Add hardware tests
Add script to start the client
Update client.py