Adding Node and Shape class.