use a model to store todo list, not directly in view controller