Updated the database.php to make the connections work as objects right after being called!