serveurcom refactor