Adding mode base model and unit tests stuff.
5 files changed