setup application layout