some test code
added test program
Allowing to run in both normal and parallel mode (celery)
Added configuration for celery