ScratchConfigPersistence configPersistence = ScratchConfigPersistence.getInstance();
ScratchConfig config = configPersistence.asConfig();
fileSystem = new FileSystem(configPersistence.getScratchesFolderPath());
Ide ide = new Ide(fileSystem, log);
mrScratchManager = new MrScratchManager(ide, fileSystem, config, log);
if (config.needMigration) {
getApplication().invokeLater(new Runnable() {
@Override public void run() {
ScratchOldData scratchOldData = ScratchOldData.getInstance();