major refactoring: create two packages: for web app and for celery worker

Created by: thomaswoehlke