Refactoring in process. There will be four modules: distance, replication, routing and storage. The dht.js will contain only the DHT logic. This is the engine of the DHT.
Added function to handle a reconnection when a node goes offline.