added a notification handler class