Put the directorymanager in the right namespace