create ResolverServer type and defined methods on this type