Created gradebook database functionality