Delete DirectorySwitch class