config_manager: added some example code and few tweaks