Remove unnecessory events.js and add function.js to support bind
Add server (Listing 15.41)
Replace close() with end() because latest nodejs does not support close()