Refactored State class to contain double and string parameters as metadata. Got rid of Transitions field. Added serialization/unserialization of new data fields.