config: Add the ability to read a config file using C++ and Python