Complete rough memory serialization and first mini-test