added Score.cs
modified code to use new Score class