clean up code for adding node to scene
cleanup link node code and node lookup code