cfgfile: library to interpret config files