new version of easy-configuration; prepared factory class for packages