Adding SQL definition class, initial implementation of GetSQL system function.