wire up offline grading task, and add initial tests.