refactor database to use hashes, abstract DB imple
bugfixes, save email when changed
BREAKING CHANGE: 0.2.0 refactors database