Created common config file, moved database config options into it
Moved app config loading to main app file
Added Flask-Mail