Added more information on pom file. Added state machine context. State machine context will be passed on to the onExit and onEnter hooks during state transition.