Removed Singleton pattern from TileManager.