rmi to standard

rmi was changed so it uses PacketBuilder and Packet class