Added Scoreboard and Renderer classes

And a few more small fixes - formatting, renaming etc.