fixed output naming, several bugs in hnh layer, changed io method for saving .data files, util files updated due to io change