Added initialization methods for pulling from CouchDB