Subprocess class added to wrap IO.popen
Callbacks for updating the authorized-keys added.

and some refactoring