Simplified app.py