Add: severities managment in handlers, and some refacto in the raft part