Further modularization of LevelController.