added has_many/belongs_to to models