refactoring the container adapter

removing the IEnumerable<TypeMap> dependencies param