Created api_grade to set and get grades with a property