Refactors folder structure.