Blueprint definition part of views.py; closes #4