added HanselUtil class.