new app.py + separate config file