Added ListenerClass

Added listener class.
In your CommandManager class, I saw you did extends Main, so I tried
that in this class. But don't know if it will work.