created model to save grades of school