moved the layout file into views