Create dependencyresolver