started adding logic for checking if a table exists in the DB
started a runQuery method and more logic to table check