Initial work on models and views