first working model of todo app