Application has been restructured.

Implemented celery functionality.