image class was added to view.py