view.py added a main() function