This patch consolidates all global variables in py/ core into one place, in a global structure. Root pointers are all located together to make GC tracing easier and more efficient.
This reduces dependency on assembler, and allows to consolidate global variables in the future.