learning how to package modules
added mocha unit tests
uses _.defaults instead of _.extend
update readme