make ActivityScoring and LegScoring extend BasicScoring so they can more easily be reused, and also preventing bugs by e.g. only implementing ActivityScoring but not BasicScoring, then the score would never be included in the final score. Minor reformatting (replace spaces by tabs for indentation).