Added LoopGenerator, Extensive Testing is necessary.
Also small name change in BlockScopeGenerator