move much `Scorer` matter from main into `Scorer`