Clean up config.py; add DEBUG from env