Adding main layout.