Initialization and termination methods

The following methods initialize the environment required for running maps and clean up the environment after the map run is complete.