some cleanup, plus got the reset function to restart the session (i.e., execution count)
cleanup
added some tentative config functionality, updated unit tests to pass.
minor