lib for managing different configuration parameters with error handling