Split files by theme and documented the code.