Reorganize engine structure, create dynamic class 'Function' and 'Variable' for surveillance of memory.