Build application layout