added comments to api.js
removed blocking package, replaced with npm Async.wrap