move layout file into templates dir