Added initial writing of state to file for experiment assistant.
Added initial writing of state to file for experiment assistant.

fdiehl/apsis,fdiehl/apsis,fdiehl/apsis,FrederikDiehl/apsis,FrederikDiehl/apsis