added the custom class and the properties within the interface for todoitems