Refactored UrlResolution example to use newer Pangool's features.