1) ModuleLoader returns ModuleInfo (with dependency paths instead of dependencies are modules);
2) ModuleRegistry#resolveModule resolves modules with dependency modules