added models has manys and belongs to
added has_many and belongs_to to models