updated soa to remove thrift dependency