Changed the way the Database class connects

The database class now uses the parse_ini_file function to determine
the correct creds to connect, instead of being passed in an array
structure. This will allow for the transition of not passing the $db
variable throughout classes and functions. The Definitions.php file
will store #defined variables.