Renamed block manager to state manager