Don't leave until you've clarified your equity stake and dotted all your Is and crossed all of your Ts. However, you should then cut your losses and get out of there. Half of a job is with whom you work and you've learned a great lesson with 'idiot' detection. I've worked with assholes recently, and they can actually be amazing assets at a company, but about 10 years ago I stopped working with idiots and I haven't looked back.
I'm starting a cloud company in Nairobi if you want to do something totally crazy ....
How are you going to make people pay for the clouds? Is this government-sponsored? Otherwise it sounds really cool, I've seen such climate improvement projects before, but I thought they require a huge scale (entire or several countries), can a single company really make a significant impact?
After seeing some downvotes, etc., I'm starting to think you mean a hosting company... Maybe the mention of Nairobi, Kenya made me think of clouds-as-in-water-vapor :)
Sod the legals, walk away, write it up to experience, re-tailor your CV and suck up a "proper" job (try looking for smaller companies through friends) for a year.
Talk to the people you meet and a new startup will come your way before that year's out.
I'm starting a cloud company in Nairobi if you want to do something totally crazy ....