refactor teacher view and add partials
create grade models