Master tree and class trees added to simulator
Found bug in LGT