replace SymfonyConsoleApplication with InputListener