Changed default port and serialization functions