removed constructor from StateManager and its according implications