Changing data structure model -> scope -> variable
Added a base class for Controller and Node