adds the ScoreCache class