added pouchdb lib