Writing the models for the task management system.