Reorganize source into subdirectories with a hierarchical build.