minor changes to std lib and utilities.  Finished insert simulation api function.