init gem structure