Adding XML Reference to doc and MainPage