Reorganized project.

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