Added PouchDB/CouchDB functionality