moved the layout in a new file