add nconf and logger