Ground got buring hot and won’t start

Hers a little background, bought a 05 660 and it has run fine since I’ve had it, it always hard to start as I thought the starter was going out, u would push the start button and it would hesitate then start turning over and always started right up but always ran. The only things I’ve done to it was remove lift kit, replace axles and replaced belt and replaced water pump seal. I finally got everything done and went to start it today, it started fine and was running, when I put in gear and went to take off it died. I then tried to start it again and it cranks fine but wouldn’t start so I thought maybe it was low on gas, filled up but still would not start, if I choked it it would crank for a second but wouldn’t stay running. Then my son said he saw smoke by battery. I immediately quite cranking it and turned it off. I then touched the positive terminal to see if it was hot, it wasn’t. Then touched the ground and it made a zap sound and burnt the crap out of my fingers, which I wasn’t expecting on ground. I immediately unplugged the battery and now I’m here. I’ve been reading up on this but I can’t figure out what caused this. I almost thought maybe I put the stator upside down or something when replacing the water pump seal but I’m not sure it’s possible plus I marked everything with marker before dissembling. Just weird that it has been starting and running and that it died while running then went downhill from there. Any ideas?

Attached Thumbnails

Ground got buring hot and won't start-20150830_143012.jpg