Added simple Pulsar/Flask app.
Moved code into example module.