moved bwi_mapper to bwi_common