Update dataRead and DataInputModule to use new framework