Implemented sending and receiving every type of data + serialization