use libtacfg to control the tap interface
start cleaning up the messy code
use dnc_cfg struct to hold global config