refactor to support library semantics
added multiple trees newick trest