Add env check to server, clean up env logic
Small abstraction to env.js
Merge pull request #83 from legitco/err

Error when environmental variables are not present.