base controller opens a database connection, method that calls models now gives the connection to the model being called
base model class now handles the database