Rearrange and clean up the repository contents.