Added method to register events
Starting to work on a ProtectionManagement system.