Lots of changes

Organized files, Generating answers, Generating PDF, Minor improvements
to templates
Files