Refactored assignments app to use class based views instead of
functions.
Merge pull request #879 from DebVortex/feature/refactor-assignments

Refactored assignments app.