Now writes generic objects to server and reads generic objects from
server