Removing infinite loop in iterator for HGWrapper, adding ShrikeIR class extracted from ShrikeIRFactory