Add the beginnings of an analysis tree

Not working yet but his on the table