HQ client library and command line tools