Init factories from gem