use environment variables for config
get rid of config-sample.js in favor of config.js and env