v5.2 refactoring

decouple datamodule
change data format