Create CompositeEvent.java