CouchDB set-up