Honey, I've lost 165 pounds in the last 2 years using
MyFitnessPal and MapMyFitness
In my case the regular exercise is more important then what I eat. The only foods that I quit eating completely were sugared drinks, booze and egg yokes.
You should really explore every option before making a decision on the surgery. I'm glad I did.
Good Luck