refactor instructorview to utilize a text/template