add couchdb stuff