fixed typo in script link, modified template to use class arguments
added explanations for the helper functions
added class function to write the resulting slideshow html to a file
moved template HTML to another file, the HTML is now built using a predefined class. This only handles file processing and shows a preview