Refactoring of Matt's code. Reading mha files is now in a more modular code.
Now reading validity of transforms.
Transforms validity now available as member of the module's logic class