clean up variable names, use tapdevice class
add tapdevice.cc
tap device class which creates tap device and wraps read/write