updated to support passing in the html template directory as a parameter so in your build packaging you can define what the path to the html files is