Neatened index code.
Neatened index code again.

Even sexier to read now.
Reorganized project.

Separated GUI and file generation logic into two separate classes.
Fixed error with bootstrap file.