renamed engine to consoleEngine
added consoleReader class and implemented the new engine to some extent