changed the open_database_connection function
completed the open_database_connection function
added the controller file