added Model classes
added exception listener