I should have started the IBMtoo movement. That place was rancid with harassment. My boss told my director not to come to work with a cane and to stay home until her (degenerative) illness was healed.
You're unemployable at 40 in this field, had I known that I would have studied finance instead. Besides that tech changes so quickly every year or two you basically start over learning a whole new set of skills...and your experience means nothing to hiring companies you still have to answer ridiculous algorithm questions even if you're a frontend programmer.
I just got put on a pip this week. One thing if you're over 40 and in the USA you have 21 days to review any sort of severance package. Take it to a lawyer, he can probably get your more.
i don't know man, sounds like they are just getting a custom product with a developer on the cheap. I would say at least $20k/mo to work fulltime on their feature requests.
I recently saw PayPal is still using code I wrote 16 years ago. Ironically, I was working for my architect from PayPal at another company at the time. We had a good laugh.