Moved routes to views.py