add sql generator

Signed-off-by: Dylan Borg <borgdylan@hotmail.com>