my code for flux todo app