Moved web_viewer.html to a templates folder
Part of the viewers refactor done, ConsoleViewer working, WebViewer still not working
The web viewer can be paused or runned step by step (still not fully working)
Scaffold of the real time web viewer server
ConsoleViewer generates png graphs
Viewer.last_event is a tuple with the same structure than viewer.events
Event data and multiple_runs passed to the client side
Web_viewer.html won't be a template
The web viewer folder will be a temp folder, not just statics
The index of the flask server is a static html, copied to the tmp folder at start
Explicit static url, to avoid ugly temp name on url
Avoid hanging the flask server when a sse request arrives
The web_server is the one running the app.run, not the viewer
No need to return
Solved the exiting problem with the multithread flask (now is multiprocessed)
Events are instances of a named tuple
The event stream only pass info about events, not statistics
Moved web viewer html to a web_viewer_resources folder
Renamed web viewer html file
Static content will be served from the resources folder, not copied to temp