Add license header
Add sql only query generator