intial commit of analysis tree builder class