couchDB integration