Adapt restwell with two different layout strategies: controller layouts, template layouts