updated
now loading config from os.environ.get('DIAG_CONFIG_MODULE')
removed
moved
renamed db variable to db_session
renamed db to db_session to reflect changes made in database.py
renamed db to db_session to reflect changes made in database.py
added ability to set which config file is loaded
added ability to set which config file is loaded
refactoring for unittest