split dtrain to one module, old code still in shifu-core to make sure shifu run successfully