added basic server interface and udp server