Properly load in the database and register the connection with the models