Factors with weights
First version with working rank logic. displayResults() needs work. No styling on screens 2 and 3 yet.