Sets up the layout