Added paho inheritance to Client class