Separated object state into an Object class, separate from the ObjectRecord class which writes an object's state to the file. Renamed ObjectState to ObjectRecord.