ajout backend /REST / gestion Thread