Create BinarySerializationAdapter.cs