creating layout and partials for views