Basic model and controller framework, plus some views.