Added support for components, component systems and events - all these can be added to mods and registered either automatically (components, events) or through an annotation (component systems).
Did some messing around with security, have a sense of how it might work but decided to leave it...