This class is our own custom Listener class, which is used to handle events more easily
This function is used to listen to an event
This function is used to register the listener
This function is used to unregister the listener