create application layout