Initial formatting. Removed empty lines and fixed several variable names. Separated Scoreboard in independant class.