Set up application layout