Refactor: big. Rename Formula.formula into Formula.definition, to avoid confusion.
[scoring] Refactor: split calculate for easier testing.
Fix some admin classes.