Rename 'code' & 'codes'

Renamed 'code' to 'datacode' and 'codes' to 'datacodes' for consistent
terminology