Instantiation of packages objects by types

* Added instantiations in preparePackagesInstallation method