added category and priority to tasks object