Only three things are certain in life. Death, taxes, and getting your organs harvested by the government.
I think the third is a special case of the second.
The widespread use of loopholes by companies/"rich" people always really pissed me off. They constantly complain so much of their wealth is being taken, yet they pull crap like this.
I "[Y]et they pull crap like this." They don't like their wealth being taken, so they take steps to keep it. How is that any way contradictory?
Cut subsidies for all forms of transportation. Then, tax in proportion to carbon emissions. Trains win in every densely populated region, hands down.
So, stop distorting the market with subsidies, start distorting the market with punitive taxes.
California may as well be a whole 'nother country...
We can only hope.
I've noticed several design suggestions in your code.