using UrlGenerator in order to generate view links, and adding HTTP foundation component