Added the base of the mainView