I got divorced a few years ago, we had to go to court as we were both on the mortgage and he was being unreasonable. The court decided I was to get the house as I was the main carer and he was living abroad and not paying any maintanance. I was given something like 30 days to get a mortgage, which was not easy on a low income as a working single mother.
I did get legal aid though, if you earn too much, can you not cut your hours so you can get the legal aid?
As 'pingping' suggested try the Citizens Advice Bureau. Also contact your Womens Aid, they are fantastic and will help sort out any issues......
There is light at the end of the tunnel, his unreasonable behaviour will only do him harm in the future. Log everything down and he will 'hang himself'. If you are working and looking after your children, you can probably get more help than what you think.