cot: build COTPackage class
Merge branch 'cm-11.0-dev' into nextbit