Added event binding to the event module