added loading configuration from JSON
extracted charset
CR changes: used require() instead of JSON.parse(fs.readFileSync())
changes after chaning shared config schema
changes after changing shared config schema