Refactored ModelManager to ModelWorld.