SONAR-5417 Initial version of batch protocol + refactoring of settings