:internal: create some structural base classes to be able to represent a mathematical expression with a binary tree