Getting in shape is theoretically very easy.
1) Eat vegetables, fruits, nuts, lean meats and fish.
2) Do not eat sugar, grains, legumes (peanuts are a legume by the way).
3) Exercise using functional movements and high intensity a few times a week. (For instance, do pullups instead of wide grip pulldowns. Do windsprints or jump rope instead of jogging on the various hamster wheels they have at the gym)
4) Get outside and walk around. Go biking. Do this stuff for fun and fresh air. Don't be a grim faced, joyless, jogger.