Use Maiju's LaTeX base. Break the content down to separate files, each chapter in its own file. Move old version to old/.
Improved the cleanup script.
Move the old Latex base and some other files to old/