Updated ViewController and implementated state driven ConsoleView