added EventApi interface and EventNotFoundException