Added utility method deployModules(JsonArray modules) to deploy modules from configuration.