Split out the IRReader header and the utility functions it provides into