* Fix typos in database schema
* Default to using user's main email address
* Refactoring
* Add missing files to .tgz