Introduce Hash functionality, incorporte with DHS queries