TodoMVC begin refactoring