Added a model class for the list and specified its two most important methods