rename to mainView.js