Add view model for main page.