DependencyLoader now a class