created DatabaseConnection class
uses the information from config file to return
a database handler