Add constructor for the TaxonRank class