Start pulling out model logic from the views