Initial implementation of model->gui