refactor since function
add celery to setup
remove unnecesary function
Merge pull request #122 from dimagi/datespans

refactor since function