add pouchdb and basic functionality to save and load log entries