Split out the top layout helper class into its own file for clarity.