Update model.class.php

Implementing exlude into model