Gem structure and dependencies