Add ScoreCache class