added udp functionality to command interface