Simpler Todo App, using functions of course