create the todo model and render them at the index