Defined a Model class