add thrift package