added back view.py which I deleted by mistake