Export of variables and arguments refactored.

... in order to reduce memory consumption of the code generator.
Updated .gitignore