Rework state reduction and refactor classifier.py
Switch beam classify to scores()