integration of thrift to core project