added reference resolver to resolve cross reference between models