Updated example

Added new functionality of store to TodoStore and refactor list.