Added functionality for adding a grade and deleting a class.