added tree_multi element type; added base logic of join elements by
species and types;