read_hfd function

Read data directly from HFD and construct a vital object for use in other functions