change association between side_effect and record

change from 1-to-many to many-to-many using has_and_belongs_to_many
integrate side_effect with record