refactoring de la classe client + ajout Main