@Maganri56,
She wants to sleep with him. She wanted to sleep with him before you two ever dated, and she continues to want this. For whatever reason, he's not interested, although him beating you up might be his way of throwing out some bait to see if she'll bite. But she's perhaps too clueless to figure that part out.
Or, there is some reason or another why it's not acceptable for them to date (e.g. they're of different races or religions and parents don't approve).
Either way, you're a placeholder.
I'm sorry to be so harsh, but you need to get out of this situation yesterday. She's essentially borderline abusive to you and he certainly is physically.
You do not have to stay. Your life doesn't have to be this way.