Add state parser.
Change transition to use states parser and add states map.
Change to use new transition different check.
Test states grouping inside event.
Change to properly pass event information.