Modified the structure of the latex files