Add configuration options

This mainly adds the nconf module for configuration handling.