created a new base sql query class to help faciliate possible future needs