Large refactoring using preprocess to handle the file creation
Moved the index.html to the root