added two table-based (for models and for model changes) logging