Changed registering to automatically register all listeners in the class
instead of per event to reduce code size and increase ease of use