Added base structure for saveing and reading simulation records.