Fixed missing class references, added getOutputConsole method