init thrift sample project