Refactoring des ports + synthesizer singleton + exceptions