switching to PouchDB for storage. Cleanup.