Laid out the CKingSystem class/packet handlers.