init hi2rest