changed reference to CouchDB class