Implementing the expressions and the expression editor