new StateManager