added a controller for static pages and started on the layout