Refactors the file structure to help speed up installation.