minor indentation changes, updated config to use nconf