Creating hub client class