Private classes

I'm simply adding a bunch of private classes to extract common code from the methods used. Currently, I'm making a single unified printer class to replace the anonymous classes I instantiate for printing stderr and stout of a process when running a process.