Functions for creating the environment and launching the simulation.
This section describes the functions for initializing SURF, performing the simulation and exiting SURF.