added view.py
added view.py