initial commit with thrift server code in test directory