added templating to the list of Todo items