Added several views and debug mode to app.py