made some changes to the functionality of node.py. Added 'build' key for executing functions and classes.