re-wrote App to use endpoint and close socket when it shuts down
refactored to packages & UdpSendApp can be told which target to point to