creating a todo repository