Move shared things to base template. Made title link to main page.