Starts to tune grammar to SDF

Splits the definitions in multiple modules
Adds rest of grammar, partly tuned to SDF

This is still heavily WIP