added todo list code for sample app