Move shared files into layout.