The command-line interface is working!

Also added new convenience class DebugStream that will only print if the constant DEBUG_ON is true