added documentation to Model class