Formats application layout