application layout setup