Add add_friend functions to config_parser class