Fleshed out DirectorySearch, still a wip.