add state request(get state of all nodes)
remove redundant code in request
change module path: dimint to dimint_client