moving to more functional Phylesystem class