Grammar refactoring

- Refactored the translator to support the old and the new way of
tokenizing so i can redo the translation from there
- Added logging to SMC and SourceTranslation
- Config is now using IoC as well
- Fixed smaller issues and bugs