Cleaned up datapath route link and network node api's.
Refactored dns models.