[CHG,IMP] Package Service APIs,DataStruct Refactoring