implement functions in ScoreService and add the need functionality to DBHandler