adding a ton of completely untested code. lots of support for 'host'
commands