Basic flask application with websocket