Made the generator script cleaner.
Made the template cleaner and added styled <pre> tags.