added getBuilding() function to BuildingsDataSource.java