CouchDB Hook-up