Created Client and Packet classes for server