Added SQL class. So far untested.