moved nconf setup to loadConfig, fixed upload_url