refactory
add a server class to manage udp relayer