scripts/lg: initial add of simple command line utility to interface with main server