introduce gateway manager script (from astaff)
use the valid management URL, change the JSON field names, introduce init script