added a bunch of documentation comments to views.py and utilities.py