Change SDmgmt to a class + add incremental file name

Because  why not
SD file is now not open and closed everytime we log
Merge et tout ça