Resolve inputs processing: refactor into classes to make more easily extensible. Add capability to analyze category score inputs.