clean up udp
add doxygen