a prototype restful API using a couchDB backend and a flask middle layer