Added the SQLMain Class. This class will handle all of the SQL querying and handling