moved todoItem into a attribute of router to make it easier to make it persistent.
BUG CREATED: including local storage now breaks existing functionality