change structure of code files