great node server rewrite #3.
add a few comments.
Merge pull request #3 from cjstewart88/rewrite-3

great node server rewrite #3.