Creation of a layout template.

home view updated to extend it as well.