rereplaces enum DBPFTGI.Mask by private class as it didn't turn out to be useful and consistent
further changes to Type, also makes createData() optional