Changes to Script class

Script class now extends Node class, Node class constructors called from
Script class