replaced pouchdb by custom lightweight db factory
improved UX with spinners
moved all crypto functions to worker
switch to new db system