Put IO into it's own file (IOhandler). Should thinkg about chaning names.
Also modified IO.OutputHandler to use communicate method.