refactoring
trying to fix tests
most tests now passing
all tests now passing
refactoring
further refactoring of scorecard functions
refactoring app file
refactoring app and message files
working except for spare message
fully working after refactoring
refactored tests
tests refactored