created ScoreManager class