Moved models/tasks.py to controllers/tasks.py