copy and paste, new implementation of node web server