To see how this class used to work, check out Grading on a Curve.