Added dependent: :destroy where needed in models