Partially refactored ScoreBoard.cs