Does some refactoring, adding Output class
Does some refactoring on shell output
Adds some functions to print tables; still not used