StateMachine modify

StageManager added.