Update app.py to work. Add example config.json