Moved the building display logic into a separate namespace.