add event module for framework