closed #2. Factory that generates semantic analyzer objects usinf
reflection has been added. The Thread local variable has been moved to
this object form semantic analyzer impl.