create event module