refactoring for state_machine, renaming model Event