added scope information node, and used it to fill 'uses' (only for variables yet, more work needs to be done here)