setup base gem structure