[issue #10] Implement serialization system