adds building class