Added master layout to views.
Added posts to index page.