StateMachine and CharacterController added.