couchdb interface