Using celery to handle tasks