Added Consistent Hashing service class that implements consistent hashing