Added Schema tree construction