Cleaned up couchdb.
Enabled sending data to arduino.