Exported the state system to StateManager