changed to use index.html
added require fs
new index page