Honey, I'm sorry. I know how crummy it is to read the evidence of the affair.
And unfortunately you were in an untenable situation, with him living there but not working on the relationship. As we've discussed before, he's a serial adulterer doing nothing to fix himself. He's not likely to do the work until the reality of the consequences of his actions is slapping him in the face.
Now rally any help you can find to help with the kids. Keep the focus on the kids, and doing the work you need to do to figure out why you picked a guy like this. It may be a struggle, but life will get better once you own your own life.