Adding todos logic basic flow from tutorial