Refactored duplicated code into common controller superclass.
Started command prompt colorization.
Refactoring.