implements the basic structure of a tree. Not tested. First draft of the definition of a class for BL policy