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