Make the grading stuff modular.
Created by: mlj5j
We should make the our grading algorithm modular so that other softwares (like Dirigent) can use it. Since it's already a separate class I think (possibly naively) that this should be relatively straight forward.