Readjust mainView and model