Create serialize.cpp