Refactored todo and ar-todo to be created with data passed in as key values.