Scoring thing
Mostly working, needs some clean up though.