Added a model module with a corresponding spec.
Added base view module and corresponding spec.