SubBatch updated so that the parent batch is hold as an attribute. This way the BatchWaitingList global is no longer needed