code cleaning and mapping tool update
The following changes are made:
-
temporary trigger objects are handled by std::map
-
temporary trigger objects are now smart pointers to prevent potential memory leak
-
mappling format is switched from std::map to std::vec