Make LevelController platform independent (tested)