updated handlersystem to work with udp server