That thing with the moon is easy to explain. According to the Hindu book, there was a giant floating in space. When he died, his body became the earth. His eyes popped out with one becoming the sun and the other became the moon. Dunno about the stars and planets, I guess parts broke off or he wet farted them or something.