split out constructor to build functions avoiding building unnecessary stuff and allowing overriding of them
split out constructor to build functions avoiding building unnecessary stuff and allowing overriding of them

elidoran/node-cio