solve circular import issues and move celery tasks to the api app for now