adds page structure and content