Fix build failure
Add skeleton of DHT spec
Split query stuff from Session module