Clean up the build process to get things in the proper order and add an HTML template for the index.html
Fix bug with coverage
Move environment config out of HTML template