Fix scope and test
Add python shebang
New scope module
Add node object
Add functions to Scope and Nodes