Added more setup steps
added assert neccesary params were set
fixed type-related bug
removed debug msgs from logging module
Added NODE_ENV to list of NB env vars.
changed package name