add MainView wrapper and FooterView