please go see a counsellor to talk thru what has happened - there is an element of post traumatic stress when something like this happens ..... you spend so much energy getting through the days and hoding it together. you need to also address the emotiona fall out on you....
take tiem to think what you want.
for longer term.
so much has gone on you need to process it.
you will now have the space and peace to rebuild...you DONT have to have him back in your home.
you dont have to have him back in your life ever - except in so far as he has a realtionship with his DCS - and you can certainly at least consider you will only allow short visits initially.
see how the children are....enjoy the peace.
it took me counselling and time apart when my exP went off to his home country to get "well" - i was dreading his return... it was only with counselling i realised i had a choice.
i told him it was over..he didnt accept this and that led to a whole lot more grief but that is another story.
whatever vows/promises you made at one point - something has broken... to take him back you need to be really sure what your limits and boundaries are.
at the very least - arrange for him to live elsewhere for some many months and just visit.
onus is on him to prove himself - not on you to accept whatever comes.
you and your children come first.