Moves the DB stuff out of the bootstrap
Changes the db connection strings

No longer uses hardcoded strings in the file but reads from the
database.php file