wraps notifying logic into Notifier and defines constants for every event name