Formatted layout.html.erb into partials for header, sidebar and footer.