New Public Events API

New API to get the plugin events from the outside