Tree

Removing definitions, change global variables and refectoring Bxref.t and Bxref.pm