Created the Data Access Object for handling the database connection, retrieving and displaying results