Added grade_system class