reduced redundant headers
add qualifier to argument to ensure const behavior
added/remove necessary header
modified load options to return a pair that gives authorization to run and the run directory.  This is important because it removed the modification of one of the arguments.