made the check script aster and more efficient
added:
  tags for objects
  some safety checks in old classes
  discriminator factory (TBT)
  correseponding test files
  fold test for new fold function of container1DUnfold