把free-apithrift迁移到free-main