refactor gem structure

1, 修改gem结构