Refactor|libcommon: Switched common/src/p_mapsetup to C++