Completed CouchDB assignment