Adding thrift client