Reformat Code
Now writes app-level components before writing page components
Issues: WM-4870