reorganize the structure of the repository