add event object and class, add some sample events for testing