Code cleanup, add TodoMVC test, all element redefine