started implementing PouchDB