datacode: initial import of code