getUnitInfoFromDb now returns useful information. Enables use of get_unit
IPC