Ajout de la tache add-snapshot & refactorings