moved connection configuration to a config file
added example config file
moved get_session from tempus.py to db.base