Add error handling to sql queue manager callback functionality and fix spelling.
simple code to add a gateway
add create user and gateway lua scripts
use lua scripts in a sub dir