Rewrote todo app flux style