Change the communication library from dbus to thrift