Refactoring DHT code

Added new dhtsearch object