define external queries for UDP/TCP
move the file into place
added references