Removed DirectoryManager.

Migrated functionality into PackageManager.