MLDS-256 Watching package entity and updating  version lists on change
MLDS-256 refactoring so it can be be tested