Made PacketHandler a global instance