The Origin of the Immune System