move model/view to gui