added relationships to models and 2 gems