Base work for main page.