Fixed bug related to missing paratheses on line 18
Added tracking of completion and deletion of todos and routing