Base gathering of info from the bfgminer api, should work for cgminer as well