create output dir implement sanity checks for json data add worker templates