move config_handler to public