[f] mainView initialization