Define app layout.