fix model class
Throw exceptions when being in debug mode
Remove directive cache as it is no longer required. Rule is cached in the model.
readd clean output