Convert to Python 2.7

Convert all code to be compatible with Python 2.7.  Doing so, we can now use the module Exscript for SSH connections, which makes life a lot simpler.

Rewrite all code to use Exscript.

Better organize code.