Added Save State to Configuration

Added serialization to enable saving parameters to disk.