added public folder and changed index.js to serve index.html file