reduce code redundancy
remove unused index.html
Merge pull request #2 from goFrendiAsgard/master

Reduce code redundancy