Move ITypeable
Refractor var names
Reset NEXT_GLOBAL_INDEX