reworked Compiler and MathSyastem