basic implementation of gtin class