move all todos domain state to the todosModel