Added some classes, and improved the organization and the names of the SQL classes