Refactored assignments app to use class based views instead of
functions.