The development of the HS and HTS codes