The Boston Planning and Development Agency is exploring ways to repurpose District Hall in the Seaport — including its potential use as a library and housing.