cot: add COTPackage class