Instructor pages cleaned up
Refactored view.py into separate files