Adding support for corepackages.
related to the previous commit
Add, Update, Delete of corepackages scripts added.