Wired up the model to the view.