Complex sentence: Before the 2012--13 school year, the school added a building for the Upper School, which consists of both Middle and High School classes.
Split into simpler sentences: Before the 2012--13 school year, the school added a building to the campus. This building houses the Upper School, which consists of both Middle and High School classes.