Add contact page and refactor code on static pages.