WEB-5190 Added routes and views for static pages. Refactored layouts and haml.