Initial setup of the layout.