Build app structure and index page.