Adds express server to serve index.html
Removes function wrapping