Implement DIrectoryManager class