Closed #2226: Improve Sprite, Node, LabelTTF class define for maintainability and performance

Improve Sprite, Node, LabelTTF class define for maintainability and performance