Building the LevelManager class