Remove thrift interface

Change-Id: Ibe660f9176ad87e0eb2b05cda83f99f4e33b6da3