reworked SQLQuery API, updated license
reworked SQL Query API, added license
reworked SQL Query API, updated license