Added Thrift API client & server