Created a model for a task