move all util functions in util.c file. remove config.c file.
finished packet-level traffic gen