Set up all event classes
Fix arg handling in wait_for_next_event
Add basic example