Created method of serving static html using pages app. Also fixed bug with recursive URLs in HTML document.