refactoring taxa node class