basic integration of PouchDB