Add base code for idt gestion