Changed to static style. There are unstable bugs....
Changed to OO style from relying static variables in module source files.
Added automatic profiling Python code.