add config_[set,get]() in util.c, replace ini-style config