- added "level" attribute to context class to be able to handle indentation
- fixed some issues in module instanciation
- fixed various generated syntax errors
- fixes, cleanups all round
various indent fixes