move HexUtil to new package