Improved corepackages management; Moved some variable into the config file.