Made Resolver a case class