refactor H5Helper + Step to H5Flow