Initial checkin of Thrift code.