Extracted a new class HighScores

which is easily testable