Rearranges layout files to give a better structure.