Refactoring. Transformers factory.

Transformers factory with cache of transformers objects. 
move to use block