app layout created and solves #1