libs: Auto-populating the config dict during the init

Signed-off-by: M S Vishwanath Bhat <vbhat@redhat.com>