Added models test. Refactored the model base class to include change tracking and some basic meta data.