Mvdb/ana 451/migration tools

to test:

    make test_migration LOGLEVEL=DEBUG