code: function(next) {
              var files = [];
              if (core.appPackage && core.packages[core.appPackage]) files.push(core.packages[core.appPackage].path);
              files.push(core.home, core.path.etc + "/..", __dirname + "/..");
              for (var i in files) {
                  var pkg = lib.readFileSync(files[i] + "/package.json", { json: 1, logger: "error", missingok: 1 });
                  logger.debug("init:", files[i] + "/package.json", pkg.name, pkg.version);
                  if (!core.appName && pkg.name) core.appName = pkg.name;
                  if (!core.appVersion && pkg.version) core.appVersion = pkg.version;
                  if (!core.appDescr && pkg.description) core.appDescr = pkg.description;
                  if (!core.version && pkg.name == "backendjs") core.version = pkg.version;
              }
              if (!core.appName) core.appName = core.name;
              if (!core.appVersion) core.appVersion = core.version;
              // Use the app name as salt for consistentcy
              if (!core.salt) core.salt = lib.salt = core.appName;
              next();
          }
docs: Application version from the package.json