added events and todo_item
added json viws