First version of event module