fixed app.py, commented out config part
updated templates