Wrap basic example in Flask app