encapsulated the level score stuff into levelState and LevelManager objects