updated interface and implementation. The NotificationCenter now uses the new EventType class which in turn uses the new EventListener class.