refactor app event module

refactor app event module