Made the ListItem part of List class