modified index.html + cleanup

moved www to gateway directory
changed javascript request url in index.html
+ cleanup