Move the layout into a separate file