Transformer compatibility check

Transformer to transformer compatibility saving to database and
initializing of new transformer changed