more commands, more refactoring, added echo stream to send console output to remote hosts