I have created an SQL class to handle the generation of SQL queries and connection to the database