Implement ScoreService and tests.