large refactor to avoid a socketio namespace for each analysys and some new analyses added