file shuffle
winding up of CLI version
initial mods to get web sockets all working