errors corrected in views.py
master views replaced with latest version
new version of bknd.