parse cmd for creating node. select() threads for incoming udp.

next up: implement distributed algorithm, ie. update routing table