added Model class