The Tree Analysis Modules (TAM) framework