Finished refactor of configuration repository.

[#78234942]

Signed-off-by: Simon Leung <leungs@us.ibm.com>