model and initial rest interface for todoitems