refactor, add index.html