Creates application layout