WIP on the network protocol (server side).  Added some client side tools for debugging: app.sendCommand({type: 'someCommand', someParamkey: 'someParamValue'})