Looked on some more stuff and reverted some more of the Python stuff.
All tests pass again. But there is still some funky stuff remaining.
Minor refactorings. Slowly moving towards snippet providers.
Some more todos.
Started to pull out snippet parsing into their own classes.