Add validation of event structures
Add dev example setup