rename set_interfaces to set_config, more stuff can be added here