salt functions moved to a separate file
a little re-org of the require()s
add-on's sqlt property is an object of SQL templates