made missing env vars errors more human friendly

* because this seems a likely error that new users will run into.
add logger lib
Merge branch 'improve-readability-of-errors'