Sample Flask application using Tornado server