Replaced keys.js with nconf module