create main page structure