1. Create new project.
2. Carefully inspect every file in the project. Remove everything non-essential from every file.
3. Repeat step 2, until things just don't work and find out why they don't work.
After that work is done, you'll be with few files which are somewhat easier to understand than the original state.
On my experience, people who create tools, usually have good built-in defaults, so you can actually delete almost everything.