Making distinctions between service and batch job stats. Adding the batchjob generator.