use module ref directly in DependencyManager
don't register already loaded modules