modified todo model an d dependencies