refactored server
now it works pointing browser at localhost:3000
Merge pull request #1 from vigliag/master

now it works pointing browser at localhost:3000