add a event method for including event modules