Updated state logic. Added DirectTransition for direct to state
transitions.
update path to dll.