Started implementing object serialization