Move config.js to lib/config