Bound the model to the gui.