Added main layout.