Removed global runtime pointer
Removed static functions
Removed static functions
Using 0 instead of RBNIL.