Added logic for the package hooks and package loading
New feature added to support pacages. First package security added