SQL module
XSS library update, Fixes and cleaning up