logger.info("Using data directory: " + dataDir);
logger.info("Using images directory: " + imageDir);
// load resources
new DcResources();
new DcSettings();
checkPlatform();
if (DcSettings.getString(DcRepository.Settings.stLanguage) == null ||
DcSettings.getString(DcRepository.Settings.stLanguage).trim().equals("")) {