Not sure if this has anything to do with your engine, but my Kohler K181 with electric start will shut down as soon as I disconnect the battery. The battery just makes the circuit closed so the engine can keep running. Also, my engine is charging my battery, so no problem there.
Oh, I didn't read that carefully enough. As Toystory said, look for cables that are not connected or damaged and be sure the right cables are connected to the mass.
what do you think abought my plan to simplify the wiring. do you think i can follow this diagram http://www.buggydepot.com/buggy-tech-center-images/article_6_1300822933.jpg and get it to run?

why can`t things just work sometimes????