refactor configuration all done in conf.js