Made HTML generation hopefully a little easier

Moved some of the html generating stuff to its own folder
Included the needed perl libraries into the mix to avoid installing them
everywhere.