Updated for multiple classes. 

Use ListenerClass to register any of the listeners.