Added model for tasks