Implementation of a batch system for Celery