add use statements for PandaException
register controller as a service
use a factory to create notification events