uses nconf to store config data