Unified config handling for client libraries and programs