add has_many, belongs_to to relevant models. add strong parameters for nested models