restructuring the repository