The schoolmaster knew what went on in the skies and he thought much about it too but he did not neglect history and geography

Can you repeat this sentence, but add in punctuation?
The schoolmaster knew what went on in the skies, and he thought much about it too, but he did not neglect history and geography.