Abstracting out default layout.
Migrating janky KM test pages.