Wrote core evaluator class.