Implement layout, break layout into partials