Modules list moved from DI to Registry.
Directories moved from config to Registry.