Fixed database and celery after refactor
Fixed some broken pieces